package com.university.mentalhealthplatform.teacherV2.repository;


import com.university.mentalhealthplatform.appModels.Test;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TestRepositoryV2 extends JpaRepository<Test, Integer> {
    List<Test> findByTopicContaining(String keyword);
}